@echo off
echo "it is backing up now..."

set username=tbhgqotb
set passwd=8721rmPbDo
set hostname=199.33.126.91
set remotedir="./domains/pureage.info/public_html/content"

set new_dir_name=%date:~0,10%%time:~0,8%
set new_dir_name=%new_dir_name:/=%
set new_dir_name=%new_dir_name: =0%
set new_dir_name=%new_dir_name::=%

mkdir "E:\blogger\pureage\backup\%new_dir_name%\content"

set localdir=E:\blogger\pureage\backup\%new_dir_name%\content



python E:\GitProjects\Embacker\ftpmirror.py -v -l %username% -p %passwd% %hostname% %remotedir% %localdir%

pause



